#ifndef _LINK_QUEUE_H__
#define _LINK_QUEUE_H__

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

typedef struct _Node
{
    int data;
	struct _Node *next;
}node_t;
   
typedef struct _Queue
{
    node_t *front;
    node_t *rear;
    int count;
}queue_t;

int create_queue(queue_t **p);
int clean_queue(queue_t *my_queue);
int destroy_queue(queue_t **my_queue);
int push_queue(queue_t *my_queue, int num);
int is_empty(queue_t *my_queue);
int pop_queue(queue_t *my_queue, int *buff);
int print_queue(queue_t *my_queue);






#endif